package com.kgc.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kgc.mapper.RoleMapper;
import com.kgc.pojo.Role;

@Service
public class RoleServiceImpl implements RoleService
{
    @Resource
    RoleMapper roleMapper;
    
    public List<Role> listRole()
    {
        return roleMapper.listRole();
    }
}
